#pragma once
#include <string>
#include "EpollServer.hpp"
void Usag(std::string buffer)
{
    std::cout << buffer << "+ port";
}
int main(int argc, char *argv[]) // 结合性顺序 （）>[] >*
{

    if (argc != 2)
    {
        std::string buffer = argv[0];
        Usag(argv[0]);
        exit(0);
    }
    EnableConsoleLogStrategy();
    uint16_t port = std::stoi(argv[1]);
    std::unique_ptr<EpollServer> server = std::make_unique<EpollServer>(port);
    server->Run();
}